<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="${pageContext.request.contextPath}/js/jquery.min.js" type="text/javascript"></script> 
<script src="${pageContext.request.contextPath}/js/common/ajax.js" type="text/javascript"></script>
<style type="text/css">
body {
	margin: 0 auto;
	font-size: 12px;
	font-family: Verdana;
	line-height: 1.5;
	background-color: rgb(215, 255, 255);
}

ul,dl,dd,h1,h2,h3,h4,h5,h6,form,p {
	padding: 0;
	margin: 0;
}

ul {
	list-style: none;
}

img {
	border: 0px;
}

a {
	color: #05a;
	text-decoration: none;
}

a:hover {
	color: #f00;
}

#main {
	background-image: url("images/banner.png");
	width: 667px;
	height: 408px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10%;
}

#form1 {
	margin: 0 auto;
	padding: 260px 0 0 0;
	text-align: center;
}

#form1 form div {
	margin-bottom: 15px;
}

#form1 form div input {
	width: 200px;
	
}
</style>

<script type="text/javascript">

</script>

</head>
<body>
	<div id="main">
		<div id="form1">
			<form action="${pageContext.request.contextPath}/LoginAction" method="post">
				<input type="hidden" name="control" value="login"/>
				<div>
					<label for="username">姓名：</label><input id='username' name='username'>
				</div>
				<div>
					<label for="password">密码：</label><input id='password' type='password' name='password'>
				</div>
				<div>
					<input style="width: 100px" value='登陆' type="submit"/>
				</div>
				<div><span style="color: red;" id = "logError">${error}</span></div>
			</form>
		</div>
	</div>
</body>
</html>